package com.xiaoka.ins.corp.api.aics.proxy;

import org.springframework.ws.client.core.support.WebServiceGatewaySupport;

import com.xiaoka.ins.corp.api.aics.wsclient.genpolicy.ConfirmVehicleInsuranceApplyRequest;
import com.xiaoka.ins.corp.api.aics.wsclient.genpolicy.ConfirmVehicleInsuranceApplyService;
import com.xiaoka.ins.corp.api.aics.wsclient.genpolicy.ConfirmVehicleInsuranceApplyServiceResponse;

public class GenPolicyProxy  extends WebServiceGatewaySupport{
	public ConfirmVehicleInsuranceApplyServiceResponse genPolicy(ConfirmVehicleInsuranceApplyRequest reqDto) {
		ConfirmVehicleInsuranceApplyService request = new ConfirmVehicleInsuranceApplyService();
		request.setRequest(reqDto);
		return (ConfirmVehicleInsuranceApplyServiceResponse) getWebServiceTemplate().marshalSendAndReceive(request);
	}
}